function DonePlugin(options) {
}

DonePlugin.prototype.apply = function (compiler) {
    compiler.plugin('done', function (Compilation) {
        console.log('打包完成......', Compilation.hasErrors())
        if (Compilation.hasErrors()){
            console.log('CAP-H5-BUILD-FAILED');
        } else {
            // 自检
            console.log('CAP-H5-BUILD-SUCCESS');
        }
    })
};
module.exports = DonePlugin;